package com.young.test.util;

import com.young.test.domain.Command;

public abstract class CommandManager {

	public void process(Object commandState) {
		Command command = createCommand();
		command.setState(commandState);
		command.info();
	}
	
	protected abstract Command createCommand();
}
